<?php if(!defined('HDPHP_PATH'))exit;C('SHOW_NOTICE',FALSE);?>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" lang="en">
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
		<title>我的资料</title>
		<script type="text/javascript">
		var getCartDataUrl = "<?php echo U('getCartData');?>";
		var delCartUrl = "<?php echo U('Cart/del');?>";
		</script>
		<?php if(!defined('HDPHP_PATH'))exit;C('SHOW_NOTICE',FALSE);?>
<link rel="stylesheet" type="text/css" href="http://localhost/vshop/Template/default/css/public.css"/>
		<script src="http://localhost/vshop/Template/default/js/jquery-1.11.3.min.js" type="text/javascript" charset="utf-8"></script>
		<script src="http://localhost/vshop/Template/default/js/public.js" type="text/javascript" charset="utf-8"></script>
		<link rel="stylesheet" type="text/css" href="http://localhost/vshop/Template/default/css/memberPublic.css"/>
		<link rel="stylesheet" type="text/css" href="http://localhost/vshop/Template/default/css/userInfo.css"/>
	</head>
	<body>
		<!-- 头部开始 -->
		<?php if(!defined('HDPHP_PATH'))exit;C('SHOW_NOTICE',FALSE);?>
<!-- 头部开始 -->
		<div class="haad">
			<div class="haadTop">
				    <?php if(session('uid') && session('uname')){ ?>
					<div class="haadTopL">
						您好，<a href="<?php echo U('Member/index');?>" style="color: #A10000;"><?php echo $hd['session']['uname'];?></a>&nbsp;
						<span>欢迎光临凡客诚品！</span>&nbsp;
						<a href="<?php echo U('User/out');?>" style="color: #A10000;">退出登陆</a>
					</div>
				<?php }else{ ?>
					<div class="haadTopL">
						您好，<span>欢迎光临凡客诚品！</span>&nbsp;
						<span>
							<a href="<?php echo U('User/login');?>">登陆</a>&nbsp;|&nbsp;<a href="<?php echo U('User/register');?>">注册</a>
						</span>
					</div>
				<?php } ?>
				<div class="haadTopR">
					<ul>
						<li class="topMenuBox">
							<a href="<?php echo U('Member/index');?>" class="topMenu">我的凡客</a>
							<ul>
								<li><a href="#">我的订单</a></li>
							</ul>
						</li>
					</ul>
				</div>
			</div>
		</div>
		<!--logo和搜索开始-->
		<div class="logoSearch">
			<div class="logoL">
				<a href="<?php echo U('Index/index');?>"></a>
			</div>
			<div class="searchR">
				<div class="searchFormBox">
					<form action="" method="post">
						<input type="text" id="keyword" value="搜“帆布鞋”，体验与众不同" /><input type="submit" id="searchSub" value="" />
					</form>
				</div>
				<div class="cartBox">
					<p><a href="#">购物车(<span>0</span>)</a></p>
					<div class="BuycarTab">
						<div id="noGoodsMsg" style="display: none;">您的购物车中没有商品</div>
						<div class="havepru">
							<h2>最近加入的商品：</h2>
							<ul>
								
							</ul>
							<div class="ShopCarPageLine"></div>
							<div class="ShopCarPage">
								<div>共计(未计算促销折扣)<span>￥0</span></div>
								<strong><a href="<?php echo U('Cart/index');?>">查看购物车(<span>0</span>件)</a></strong>
							</div>
						</div>
					</div>
				</div>
				<div class="hotWord">
					<p>热门搜索：<a href="#">吉国武</a>&nbsp;<a href="#">吉国武</a></p>
				</div>
			</div>
		</div>
		<!--logo和搜索结束-->
		<!--顶部导航开始-->
		<div class="navBox">
			<div class="allProduct">
				<span class="navCon notIndex">全部商品分类<em></em></span>
				<div class="categoryList">
					<div class="categpost">
						<?php foreach ($topCate as $tk=>$tv){?>
							<dl>
								<h3><a href="<?php echo U('List/index',array('cid'=>$tv['cid']));?>"><?php echo $tv['cname'];?></a></h3>
								<?php foreach ($cateData as $ck=>$cv){?>
									    <?php if($tv['cid']==$cv['pid']){ ?>
										<dt><a href="<?php echo U('List/index',array('cid'=>$cv['cid']));?>"><?php echo $cv['cname'];?></a></dt>
										<dd>
											<?php foreach ($cateData as $sk=>$sv){?>
												    <?php if($cv['cid']==$sv['pid']){ ?>
													<a href="<?php echo U('List/index',array('cid'=>$sv['cid']));?>"><?php echo $sv['cname'];?></a>
												<?php } ?>
											<?php }?>
										</dd>
									<?php } ?>
								<?php }?>
							</dl>
						<?php }?>
					</div>
				</div>
			</div>
			<div class="navListBox">
				<ul>
					<?php foreach ($topCate as $k=>$v){?>
						<li><a href="<?php echo U('List/index',array('cid'=>$v['cid']));?>"><?php echo $v['cname'];?></a></li>
					<?php }?>
				</ul>
			</div>
		</div>
		<!--顶部导航结束-->
		<!-- 头部结束 -->
		<!-- 头部结束 -->
		<dl class="wrapper">
			<dl id="position">
				<dt>您当前的位置：<a href="<?php echo U('Index/index');?>">凡客首页</a></dt>
				<dd> &gt; <a href="">我的凡客</a></dd>
				<dd> &gt; <a href="">我的资料</a></dd>
			</dl>
			<!--left menu start-->
			<?php if(!defined('HDPHP_PATH'))exit;C('SHOW_NOTICE',FALSE);?>
<div id="side-nav">
				<div class="my_vancl">
					<h2><a href="" class="track" name="my-left-left-commorder">我的凡客</a></h2>
				</div>
				<ul class="">
					<li><h3>订单中心</h3></li>
					<li class="no_bg"><a href="" class="track">·我的订单</a></li>
				</ul>
				<ul class="">
					<li><h3>客户服务</h3></li>
					<li><a href="" class="track">·我要评价</a></li>
					<li><a href="" class="track">·商品提问</a></li>
				</ul>
				<ul class="service-rate">
					<li><h3>账户管理</h3></li>
					<li><a href="" class="track">·账户余额</a></li>
					<li><a href="<?php echo U('Address/index');?>" class="track">·收货地址</a></li>
					<li><a href="<?php echo U('SaveCenter/index');?>" class="track">·账户安全</a></li>
					<li><a href="<?php echo U('SaveCenter/userInfo');?>" class="track">·我的资料</a></li>
				</ul>
			</div>
			<!--left menu end-->
			<div class="ordercontainer">
				
				<h3><span>我的资料</span></h3>
				<div>
					<div class="blank10"></div>
				</div>
				<div class="blank10"></div>
				<span>基本资料</span>
				<form action="" method="post">
					<table class="fieldset">
	                    <tbody>
	                        <tr>
	                            <td class="label" colspan="2" style="text-align: left; padding-left: 42px;">
	                            	&nbsp;&nbsp;&nbsp;用&nbsp;户&nbsp;名：<span class="user-name"><?php echo $hd['session']['uname'];?></span>
	                            	<em style="color: #333;margin-left: 5px; display: none" id="isCheck">（已验证）</em>
	                            </td>
	                        </tr>
	                        <!-- <tr>
	                            <td class="label" colspan="2" style="text-align: left; padding-left: 42px;">
	                            	为了您账户的安全，请<span style="color: #a10000"> 验证手机</span>
	                            	和<span style="color: #a10000">验证邮箱</span>，现在验证还赠送10积分哦。
	                            </td>
	                        </tr> -->
	                        <tr>
	                            <td class="label">
	                                <span style="color: red;">*</span>昵&nbsp;&nbsp;&nbsp;&nbsp;称：
	                            </td>
	                            <td>
	                                <input maxlength="20" class="contact" name="nickname" id="UniqueNickName" value="<?php echo $infoData['nickname'];?>" type="text" />
	                                <div id="WrongUniqueNickName" class="shuru0316">
	                                	<p>plice enter nickname</p>
	                                </div>
	                            </td>
	                        </tr>
	                        <tr>
	                            <td class="label">收信邮箱：</td>
	                            <td>
	                                <input class="contact" name="email" value="<?php echo $infoData['uemail'];?>" id="Email" type="text">
	                                <!-- <span style="color: #A10000; float: left; margin-left: 5px; margin-top: 5px; cursor: pointer;">去验证&gt;&gt;</span> -->
	                                <div id="WrongEmail" class="shuru0316">
	                                    <p>Email格式错误</p>
	                                </div>
	                            </td>
	                        </tr>
	                        <tr>
	                            <td class="label">
	                                <span style="color: red;">*</span>详细地址：
	                            </td>
	                            <td>
	                                <div id="AddressHeadMessage">
	                                </div>
	                                <input class="contact w315" name="address" id="Address" value="<?php echo $infoData['uaddress'];?>" type="text">
	                                <div id="WrongAddress" class="shuru0316">
	                                    <p>请填写您的详细地址</p>
	                                </div>
	                            </td>
	                        </tr>
	                        <tr>
	                            <td class="label">
	                                <span style="color: red;">*</span>手&nbsp;&nbsp;&nbsp;&nbsp;机：
	                            </td>
	                            <td>
	                                <input class="contact" name="phone" id="Mobile" value="<?php echo $infoData['uphone'];?>" type="text" />
	                                <!-- <a style="color: #A10000; float: left; margin-left: 5px; margin-top: 5px; cursor: pointer;">去验证&gt;&gt;</a> -->
	                                <div id="WrongMobile" class="shuru0316">
	                                    <p>手机格式错误</p>
	                                </div>
	                            </td>
	                        </tr>
	                        <tr>
	                            <td class="label">座&nbsp;&nbsp;&nbsp;&nbsp;机：</td>
	                            <td>
	                                <input class="contact" name="tel" id="Phone" value="<?php echo $infoData['utel'];?>" type="text" />
	                                <div id="WrongPhone" class="shuru0316">
	                                    <p>座机号码不能多于8位，不能少于7位</p>
	                                </div>
	                                <span id="SetPhone" class="info-tip"></span>
	                            </td>
	                        </tr>
	                        <tr>
	                            <td>&nbsp;</td>
	                            <td>
	                            	<input type="hidden" name="uid" value="<?php echo $hd['session']['uid'];?>" />
	                                <input type="submit" class="save" value="" style="cursor: pointer;" />
	                                <img style="display: none;" fid="saving" src="images/loading.gif">
	                            </td>
	                        </tr>
	                    </tbody>
					</table>
				</form>
			</div>
		</div>
		<div style="width: 100%;height: 20px;clear: both;"></div>
		<div class="copyRight">
			<div class="copyRightTab"><p>Copyright 2007 - 2014 vancl.com All Rights Reserved 京ICP证100557号 京公网安备11011502002400号 出版物经营许可证新出发京批字第直110138号</p></div>
		</div>
	</body>
</html>
